<template>
    <iframe v-if="$route.meta.href" :src='$route.meta.href' class="iframe" frameborder="0" ref="iframe"></iframe>
</template>

<script>
export default {
    name: "IFrame",
    data() {
        return {};
    }
};
</script>

<style rel="stylesheet/scss" lang="scss">
.iframe {
    width: 100%;
    height: 99%;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    box-sizing: border-box;
}
</style>